package mysql

import "gorm.io/gorm"

type Scenic struct {
	gorm.Model
	Name    string `gorm:"type:varchar(100);not null;comment:'经典名称'" json:"name"`
	Details string `gorm:"type: varchar(255);not null;comment:'详情'" json:"details"`
	Area    string `gorm:"type: varchar(150);not null;comment:'所在地区'" json:"area"`
}

/*func (s *Scenic) Search(name string) (so []Scenic, err error) {

}
*/
